Integrand size = 17, antiderivative size = 92 \[ \int \sqrt {a+b \sqrt {\frac {c}{x}}} \, dx=\frac {b c \sqrt {a+b \sqrt {\frac {c}{x}}}}{2 a \sqrt {\frac {c}{x}}}+\sqrt {a+b \sqrt {\frac {c}{x}}} x-\frac {b^2 c \text {arctanh}\left (\frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{\sqrt {a}}\right )}{2 a^{3/2}} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 92, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.353, Rules used = {261, 196, 43, 44, 65, 214} \[ \int \sqrt {a+b \sqrt {\frac {c}{x}}} \, dx=-\frac {b^2 c \text {arctanh}\left (\frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{\sqrt {a}}\right )}{2 a^{3/2}}+\frac {b c \sqrt {a+b \sqrt {\frac {c}{x}}}}{2 a \sqrt {\frac {c}{x}}}+x \sqrt {a+b \sqrt {\frac {c}{x}}} \]
[In]
[Out]
Rule 43
Rule 44
Rule 65
Rule 196
Rule 214
Rule 261
Rubi steps \begin{align*} \text {integral}& = \text {Subst}\left (\int \sqrt {a+\frac {b \sqrt {c}}{\sqrt {x}}} \, dx,\sqrt {x},\frac {\sqrt {\frac {c}{x}} x}{\sqrt {c}}\right ) \\ & = -\text {Subst}\left (2 \text {Subst}\left (\int \frac {\sqrt {a+b \sqrt {c} x}}{x^3} \, dx,x,\frac {1}{\sqrt {x}}\right ),\sqrt {x},\frac {\sqrt {\frac {c}{x}} x}{\sqrt {c}}\right ) \\ & = \sqrt {a+b \sqrt {\frac {c}{x}}} x-\text {Subst}\left (\frac {1}{2} \left (b \sqrt {c}\right ) \text {Subst}\left (\int \frac {1}{x^2 \sqrt {a+b \sqrt {c} x}} \, dx,x,\frac {1}{\sqrt {x}}\right ),\sqrt {x},\frac {\sqrt {\frac {c}{x}} x}{\sqrt {c}}\right ) \\ & = \frac {b c \sqrt {a+b \sqrt {\frac {c}{x}}}}{2 a \sqrt {\frac {c}{x}}}+\sqrt {a+b \sqrt {\frac {c}{x}}} x+\text {Subst}\left (\frac {\left (b^2 c\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {a+b \sqrt {c} x}} \, dx,x,\frac {1}{\sqrt {x}}\right )}{4 a},\sqrt {x},\frac {\sqrt {\frac {c}{x}} x}{\sqrt {c}}\right ) \\ & = \frac {b c \sqrt {a+b \sqrt {\frac {c}{x}}}}{2 a \sqrt {\frac {c}{x}}}+\sqrt {a+b \sqrt {\frac {c}{x}}} x+\text {Subst}\left (\frac {\left (b \sqrt {c}\right ) \text {Subst}\left (\int \frac {1}{-\frac {a}{b \sqrt {c}}+\frac {x^2}{b \sqrt {c}}} \, dx,x,\sqrt {a+\frac {b \sqrt {c}}{\sqrt {x}}}\right )}{2 a},\sqrt {x},\frac {\sqrt {\frac {c}{x}} x}{\sqrt {c}}\right ) \\ & = \frac {b c \sqrt {a+b \sqrt {\frac {c}{x}}}}{2 a \sqrt {\frac {c}{x}}}+\sqrt {a+b \sqrt {\frac {c}{x}}} x-\frac {b^2 c \tanh ^{-1}\left (\frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{\sqrt {a}}\right )}{2 a^{3/2}} \\ \end{align*}
Time = 0.14 (sec) , antiderivative size = 78, normalized size of antiderivative = 0.85 \[ \int \sqrt {a+b \sqrt {\frac {c}{x}}} \, dx=\frac {\sqrt {a+b \sqrt {\frac {c}{x}}} \left (2 a+b \sqrt {\frac {c}{x}}\right ) x}{2 a}-\frac {b^2 c \text {arctanh}\left (\frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{\sqrt {a}}\right )}{2 a^{3/2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(146\) vs. \(2(70)=140\).
Time = 3.96 (sec) , antiderivative size = 147, normalized size of antiderivative = 1.60
method | result | size |
default | \(\frac {\sqrt {a +b \sqrt {\frac {c}{x}}}\, \sqrt {x}\, \left (2 a^{\frac {3}{2}} \sqrt {a x +b \sqrt {\frac {c}{x}}\, x}\, \sqrt {\frac {c}{x}}\, \sqrt {x}\, b -b^{2} c \ln \left (\frac {b \sqrt {\frac {c}{x}}\, \sqrt {x}+2 \sqrt {a x +b \sqrt {\frac {c}{x}}\, x}\, \sqrt {a}+2 a \sqrt {x}}{2 \sqrt {a}}\right ) a +4 a^{\frac {5}{2}} \sqrt {a x +b \sqrt {\frac {c}{x}}\, x}\, \sqrt {x}\right )}{4 \sqrt {x \left (a +b \sqrt {\frac {c}{x}}\right )}\, a^{\frac {5}{2}}}\) | \(147\) |
[In]
[Out]
none
Time = 0.32 (sec) , antiderivative size = 161, normalized size of antiderivative = 1.75 \[ \int \sqrt {a+b \sqrt {\frac {c}{x}}} \, dx=\left [\frac {\sqrt {a} b^{2} c \log \left (-2 \, \sqrt {b \sqrt {\frac {c}{x}} + a} \sqrt {a} x \sqrt {\frac {c}{x}} + 2 \, a x \sqrt {\frac {c}{x}} + b c\right ) + 2 \, {\left (a b x \sqrt {\frac {c}{x}} + 2 \, a^{2} x\right )} \sqrt {b \sqrt {\frac {c}{x}} + a}}{4 \, a^{2}}, \frac {\sqrt {-a} b^{2} c \arctan \left (\frac {\sqrt {b \sqrt {\frac {c}{x}} + a} \sqrt {-a}}{a}\right ) + {\left (a b x \sqrt {\frac {c}{x}} + 2 \, a^{2} x\right )} \sqrt {b \sqrt {\frac {c}{x}} + a}}{2 \, a^{2}}\right ] \]
[In]
[Out]
\[ \int \sqrt {a+b \sqrt {\frac {c}{x}}} \, dx=\int \sqrt {a + b \sqrt {\frac {c}{x}}}\, dx \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 126, normalized size of antiderivative = 1.37 \[ \int \sqrt {a+b \sqrt {\frac {c}{x}}} \, dx=\frac {1}{4} \, {\left (\frac {b^{2} \log \left (\frac {\sqrt {b \sqrt {\frac {c}{x}} + a} - \sqrt {a}}{\sqrt {b \sqrt {\frac {c}{x}} + a} + \sqrt {a}}\right )}{a^{\frac {3}{2}}} + \frac {2 \, {\left ({\left (b \sqrt {\frac {c}{x}} + a\right )}^{\frac {3}{2}} b^{2} + \sqrt {b \sqrt {\frac {c}{x}} + a} a b^{2}\right )}}{{\left (b \sqrt {\frac {c}{x}} + a\right )}^{2} a - 2 \, {\left (b \sqrt {\frac {c}{x}} + a\right )} a^{2} + a^{3}}\right )} c \]
[In]
[Out]
none
Time = 0.34 (sec) , antiderivative size = 130, normalized size of antiderivative = 1.41 \[ \int \sqrt {a+b \sqrt {\frac {c}{x}}} \, dx=-\frac {{\left (\frac {b^{2} c^{3} \log \left (c^{2} {\left | b \right |}\right )}{\sqrt {a c} a} - \frac {b^{2} c^{3} \log \left ({\left | -b c^{2} - 2 \, \sqrt {a c} {\left (\sqrt {a c} \sqrt {c x} - \sqrt {a c^{2} x + \sqrt {c x} b c^{2}}\right )} \right |}\right )}{\sqrt {a c} a} - 2 \, \sqrt {a c^{2} x + \sqrt {c x} b c^{2}} {\left (\frac {b c}{a} + 2 \, \sqrt {c x}\right )}\right )} \mathrm {sgn}\left (x\right )}{4 \, c^{\frac {3}{2}}} \]
[In]
[Out]
Timed out. \[ \int \sqrt {a+b \sqrt {\frac {c}{x}}} \, dx=\int \sqrt {a+b\,\sqrt {\frac {c}{x}}} \,d x \]
[In]
[Out]